package com.niiwoo.civet.mobile.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * @Description: 用户行为限制保存请求参数
 * @Author:wuke
 * @Date:2017/10/17
 */
@Setter
@Getter
@ApiModel
public class UserBehaviorSaveDTO implements Serializable {
    @NotBlank(message = "用户id不能为空")
    @ApiModelProperty(value = "用户id", required = true)
    private String userId;
    @NotBlank(message = "itemKey不能为空")
    @ApiModelProperty(value = "行为禁止项", required = true)
    private String itemKey;
    @NotBlank(message = "禁止开始时间不能为空")
    @ApiModelProperty(value = "禁止开始时间", required = true)
    private String beginDate;
    @ApiModelProperty(value = "禁止结束时间(为空表示不限时间)")
    private String endDate;
    @ApiModelProperty(value = "限制描述")
    private String forbidDesc;
    @ApiModelProperty(value = "行为禁止类型Id")
    private String forbidBehaviorTypeId;
}
